﻿using System;
using System.Collections.Generic;
using Autodesk.Revit.DB;

namespace FamilyCompare
{
	internal class CategoryResultPacker : ResultPackerBase
	{
		public CategoryResultPacker(Category category)
		{
			this.UseId = category.Id.IntegerValue;
			this.UseName = category.Name;
			this.NodeName = category.Name;
			this.thisCategory = category;
			this.lstFamilyNameResultPacker = new List<FamilyNameResultPacker>();
		}

		public Category ThisCateGory
		{
			get
			{
				return this.thisCategory;
			}
		}

		public List<FamilyNameResultPacker> LstFamilyNameResultPacker
		{
			get
			{
				return this.lstFamilyNameResultPacker;
			}
		}

		private Category thisCategory;

		private List<FamilyNameResultPacker> lstFamilyNameResultPacker;
	}
}
